package org.project.curriculum.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Auther: hzy
 * @Date: 2022/2/8 06:48
 * @Description:
 */
//员工信息表
public class employeeInformation {
    private Integer id;//员工id
    private String name;//员工姓名

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date entryTime;//入职时间
    private String pwd;//员工登录密码

    public employeeInformation() {
    }

    public employeeInformation(Integer id, String name, Date entryTime) {
        this.id = id;
        this.name = name;
        this.entryTime = entryTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getEntry_time() {
        return entryTime;
    }

    public void setEntry_time(Date entry_time) {
        this.entryTime = entry_time;
    }


}
